package com.sumer.brain.sys.service;

import com.sumer.brain.sys.model.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysRoleService extends IService<SysRole> {

    List<SysRole> getRolesByUserId(Long userId);

    int saveRoleMenu(SysRole sysRole);

    Boolean delByIds(String ids);

    void updateRoleMenu(SysRole sysRole);
}
